package hlhj.fhp.checkpoint.javaBean;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Never Fear   on 2018\12\4 0004.
 * Never More....
 */

public class WxPayBean {

    /**
     * code : 1
     * msg : 操作成功！
     * info : {"appid":"wxb061a7fddd1420c3","partnerid":"1519949851","prepayid":"wx04150647844886a5adcb37e80359175668","noncestr":"5c0627906a541","timestamp":1543907216,"package":"Sign=WXPay","sign":"DDD5635EF517B2D00E16B5D46D101912"}
     */

    private int code;
    private String msg;
    private InfoBean info;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public InfoBean getInfo() {
        return info;
    }

    public void setInfo(InfoBean info) {
        this.info = info;
    }

    public static class InfoBean {
        /**
         * appid : wxb061a7fddd1420c3
         * partnerid : 1519949851
         * prepayid : wx04150647844886a5adcb37e80359175668
         * noncestr : 5c0627906a541
         * timestamp : 1543907216
         * package : Sign=WXPay
         * sign : DDD5635EF517B2D00E16B5D46D101912
         */

        private String appid;
        private String partnerid;
        private String prepayid;
        private String noncestr;
        private int timestamp;
        @SerializedName("package")
        private String packageX;
        private String sign;

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public int getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(int timestamp) {
            this.timestamp = timestamp;
        }

        public String getPackageX() {
            return packageX;
        }

        public void setPackageX(String packageX) {
            this.packageX = packageX;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }
    }
}
